package com.xiaoma.tpo.domain;

import java.io.Serializable;
import java.util.Date;

/**
 * Created by Owner on 2015/5/6.
 */
public class UserMessage  implements Serializable {
    private static final long serialVersionUID = -5870070806727750608L;

    private Integer id;
    private Integer userId; //收到消息的用户ID
    private String message;   //消息内容
    private Date dateTime;   //消息时间
    private Integer triggerId;   //触发者ID
    private Integer isRead;   //已读

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public Date getDateTime() {
        return dateTime;
    }

    public void setDateTime(Date dateTime) {
        this.dateTime = dateTime;
    }

    public Integer getTriggerId() {
        return triggerId;
    }

    public void setTriggerId(Integer triggerId) {
        this.triggerId = triggerId;
    }

    public Integer getIsRead() {
        return isRead;
    }

    public void setIsRead(Integer isRead) {
        this.isRead = isRead;
    }
}
